﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.Xpo;

namespace DataModel.Models
{
    /// <summary>
    /// Класс денег
    /// </summary>
    public struct Money
    {
        public decimal Value { get; set; }
        public Currency Currency { get; set; }
    }
    /// <summary>
    /// Валюта
    /// </summary>
    public enum Currency
    {
        /// <summary>
        /// Рубль
        /// </summary>
        Rouble = 643,
        Dollar = 840,
        Euro = 978
    }
}
